#ifndef POWEROFFLOADING_H
#define POWEROFFLOADING_H

#include <QWidget>
#include <QPaintEvent>
#include <QPainter>
#include <QGraphicsBlurEffect>
#include <QTimer>
#include "globaldef.h"

namespace Ui {
class PowerOffLoading;
}

class PowerOffLoading : public QWidget
{
    Q_OBJECT

public:
    explicit PowerOffLoading(QWidget *parent = nullptr);
    ~PowerOffLoading();

public slots:
    void rotateImage();
protected:
    void paintEvent(QPaintEvent *event);

private:
    Ui::PowerOffLoading *ui;
    QPixmap mPix;
};

#endif // POWEROFFLOADING_H
